<div class="dataTables_title">
	<div class="dataTables_title_left">出库详情</div>
</div>
<div class="widget" style="margin:0px;">
	<div class="widget-content">
		<div class="table-title">
			<input type="hidden" id="apply_code" value="${(ret.code)!''}"/>
			
			<table class="table table-bordered animate2 fadeInUp">
				<tr><th style="width: 100px;">单据编号</th><td>${(invOutStorage.dn)!''}</td></tr>
				<tr><th style="width: 100px;">接收单位</th><td><#if invOutStorage.bname??>${invOutStorage.bname}<#elseif invOutStorage.type == 2>零售客户<#elseif invOutStorage.type == 3>调拨出库<#else>其他</#if></td></tr>
			</table>
			
			<table class="table table-bordered animate2 fadeInUp">
			<thead>
					<tr>
						<th>商品名称</th>
						<th>单位</th>
						<th>出库数量</th>
						<th>出库单价</th>
						<th>所属仓库</th>
						<th>备注</th>
					</tr>
				</thead>
				<tbody>
				<#if invOutStorage??>
					<#list invOutStorage.itemList as item>
						<tr>
							<td>${(item.cname)!''}</td>
							<td>${(item.un)!''}</td>
							<td>${(item.number)!''}</td>
							<td>${(item.price)!''}</td>
							<td>${(item.dname)!''}</td>
							<td>${(item.remark)!''}</td>
						</tr>
						<tr>
							<td colspan="6" style="color:green;">序列号:&nbsp
								<#if (item.detailList?? && item.detailList?size gt 0)>
									<#list item.detailList as detail>
										<div class="filter-table">
											<a href="javascript:;" style="font-weight:bold;">${(detail.serial)!''}</a>&nbsp;&nbsp;&nbsp;&nbsp;
										</div>
									</#list>
								<#else>
									<font style="color:red;">此商品不需要序列号</font>&nbsp;
								</#if>
							</td>
						</tr>
						
					</#list>
				</#if>
				<tr>
					<td colspan="6" style="text-align: center">
						<a class="btn btn-info" href="javascript:;" onclick="javascript: $.fn.colorbox.close();">关闭</a>
					</td>
				</tr>
				</tbody>
			</table>
		</div>
	</div>
</div>
